package com.mvp.view.impl;

import com.mvp.view.MvpView;

/**
 * Created by dong on 2016/12/1.
 * MvpLceView加载UI视图类
 */
public interface MvpLceView<M> extends MvpView {
    //显示加载中的视图(说白了监听加载类型:下啦刷新或者上啦加载)
    public void showLoading(boolean pullToRefresh);

    //显示ContentView
    public void showContent();

    //加载错误
    public void showError(Exception e, boolean pullToRefresh);

    //绑定数据
    public void showData(M data);
}
